package com.ruoyi.by.health.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.xss.Xss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Size;

/**
 * 员工对象 byhealth_employee
 *
 * @author zjq
 */
@ApiModel(value = "ByhealthEmployee", description = "员工实体")
public class ByhealthEmployee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    //@Excel(name = "用户序号", cellType = Excel.ColumnType.NUMERIC, prompt = "用户编号")
    private Long empId;

    /**
     * 部门ID
     */
    private Long deptId;
    private String deptName;
    /**
     * 部门ID
     */
    private Long buId;
    private String buName;
    /**
     * 用户账号
     */
    @Excel(name = "名称")
    @ApiModelProperty("员工名称")
    private String empName;
    private String empAddress;
    private String empAddressPcd;
    private String recipientName;
    private String recipientPhone;

    @Excel(name = "员工号")
    @ApiModelProperty("员工编号")
    private String empCode;
    @ApiModelProperty("微信昵称")
    private String nickName;
    /**
     * 用户头像
     */
    @ApiModelProperty("员工头像")
    private String avatar;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    @ApiModelProperty("手机号码")
    private String phoneNumber;
    private String openId;

    @ApiModelProperty("小程序openid")
    private String appOpenId;

    @ApiModelProperty("是否签到")
    private String isAttendance;
    /**
     * 游戏得分
     */
    @ApiModelProperty("微信公众号openid")
    private Long gameScore;

    /**
     * 游戏排名
     */
    @ApiModelProperty("微信公众号openid")
    private Long gameRank;

    /**
     * 是否中奖
     */
    @ApiModelProperty("是否中奖")
    private Integer isWinning;
    @ApiModelProperty("是否老板")
    private Integer isBoss;
    @ApiModelProperty("是否有效")
    private Integer isEffective;
    private Integer isTest;
    private Integer isLottery;
    private Long prizedId;
    public String getIsAttendance() {
        return isAttendance;
    }

    public void setIsAttendance(String isAttendance) {
        this.isAttendance = isAttendance;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    @Xss(message = "用户昵称不能包含脚本字符")
    @Size(min = 0, max = 30, message = "用户昵称长度不能超过30个字符")
    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    @Xss(message = "用户账号不能包含脚本字符")
    @Size(min = 0, max = 30, message = "用户账号长度不能超过30个字符")
    public String getEmpCode() {
        return empCode;
    }

    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }

    @Size(min = 0, max = 11, message = "手机号码长度不能超过11个字符")
    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Long getGameScore() {
        return gameScore;
    }

    public void setGameScore(Long gameScore) {
        this.gameScore = gameScore;
    }

    public Long getGameRank() {
        return gameRank;
    }

    public void setGameRank(Long gameRank) {
        this.gameRank = gameRank;
    }

    public Integer getIsWinning() {
        return isWinning;
    }

    public void setIsWinning(Integer isWinning) {
        this.isWinning = isWinning;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getAppOpenId() {
        return appOpenId;
    }

    public void setAppOpenId(String appOpenId) {
        this.appOpenId = appOpenId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getIsBoss() {
        return isBoss;
    }

    public void setIsBoss(Integer isBoss) {
        this.isBoss = isBoss;
    }

    public Integer getIsEffective() {
        return isEffective;
    }

    public void setIsEffective(Integer isEffective) {
        this.isEffective = isEffective;
    }

    public String getEmpAddress() {
        return empAddress;
    }

    public void setEmpAddress(String empAddress) {
        this.empAddress = empAddress;
    }

    public Integer getIsTest() {
        return isTest;
    }

    public void setIsTest(Integer isTest) {
        this.isTest = isTest;
    }

    public String getEmpAddressPcd() {
        return empAddressPcd;
    }

    public void setEmpAddressPcd(String empAddressPcd) {
        this.empAddressPcd = empAddressPcd;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public String getRecipientPhone() {
        return recipientPhone;
    }

    public void setRecipientPhone(String recipientPhone) {
        this.recipientPhone = recipientPhone;
    }

    public Long getBuId() {
        return buId;
    }

    public void setBuId(Long buId) {
        this.buId = buId;
    }

    public String getBuName() {
        return buName;
    }

    public void setBuName(String buName) {
        this.buName = buName;
    }

    public Integer getIsLottery() {
        return isLottery;
    }

    public void setIsLottery(Integer isLottery) {
        this.isLottery = isLottery;
    }

    public Long getPrizedId() {
        return prizedId;
    }

    public void setPrizedId(Long prizedId) {
        this.prizedId = prizedId;
    }
}
